Repository navigation
Add docs chat - #3749
Draft
Strift wants to merge 45 commits into
Draft
Add docs chat#3749Strift wants to merge 45 commits into
Strift wants to merge 45 commits into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
|
Important Review skippedToo many files! This PR contains 157 files, which is 57 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.
|
Strift
force-pushed
the
docs-rag-ingestion
branch
from
November 4, 2026 09:23
df83869 to
120894e
Compare
Strift
force-pushed
the
docs-rag-ingestion
branch
from
November 12, 2026 03:33
10c2543 to
7a8467b
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Strift
force-pushed
the
docs-rag-ingestion
branch
from
November 24, 2026 03:54
8eb8b27 to
e05b781
Compare
Strift
force-pushed
the
docs-rag-ingestion
branch
from
November 24, 2026 06:48
852f83f to
b0508ee
Compare
Vercel compiles chat/ to JavaScript but copies relative specifiers verbatim, so a .ts import ships a function that reports READY and returns 500 on every request with ERR_MODULE_NOT_FOUND. tsc and the tests both pass on that code because chat/tsconfig.json sets allowImportingTsExtensions. Add oxlint with no-restricted-imports scoped to chat/, a lint-chat CI job, and fix the remaining type-only user.ts specifier.
api/ only deploys the chat handler, and ingestion uses the same sample and page helpers as the assistant.
The assistant, widget, and shared helpers now have unit tests, and the Meilisearch sink tests fail when no server is configured instead of skipping.
The extra file was named as if ingest were a separate runner from chat. Commands now say which area they cover.
Each assistant message is one AI trace, grouped by the conversation id. Thumbs, regenerate, and retry post to /api/events with that trace id. The console retrieval transcript is gone. Co-authored-by: Laurent Cazanove <Strift@users.noreply.github.com>
A setup error ends the PostHog turn. A retry cites only the latest turn. A blocked storage write no longer drops the in-memory conversation id or the chat request. Co-authored-by: Laurent Cazanove <Strift@users.noreply.github.com>
…sult on its own case.
Tool lines, the answer, sources, and actions now share the 20px gap used between docs blocks.
…es by service and purpose.
Strift
force-pushed
the
docs-rag-ingestion
branch
from
December 1, 2026 10:11
0f2ee1e to
b6c3346
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds an AI assistant to the documentation website.
Chunking
scripts/ingest/to chunk and index docs content in Meilisearch.github/workflows/ingest-chat-indexes.ymlto refresh indexes whenmainchangesChat frontend
chat; built and deployed via thedocumentation-chatVercel projectchat-loader.jsthat Mintlify uses to load the chat appThe script handles all environments via build-time constant injection in
chat/vite.config.ts:cd chat && npm run dev)Tooling updates
.github/workflows/lint-chat.ymlto lint the chat projectAnalytics
Environment checklist
Set these on the chat Vercel project for Preview and Production:
POSTHOG_PROJECT_TOKEN— Meilisearch (production), project 286966POSTHOG_HOST—https://eu.i.posthog.comPost-deployment
mainas production branch and enable preview deploymentsChecklist
For internal Meilisearch team member only:
For external maintainers